home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
VRML 2.0 Sourcebook (2nd Edition)
/
VRML 2.0 Sourcebook CD [md5 fed90f4f9c39d5a60d477058775c7e21].iso
/
book
/
unix
/
ch16
/
16fig04.wrl
< prev
next >
Wrap
Text File
|
1996-09-22
|
893b
|
39 lines
#VRML V2.0 utf8
# The VRML 2.0 Sourcebook
# Copyright [1997] By
# Andrea L. Ames, David R. Nadeau, and John L. Moreland
Shape {
appearance Appearance {
material Material { }
}
geometry IndexedFaceSet {
coord Coordinate {
point [
# Around the front of the book
-0.095 -0.115 0.04, 0.095 -0.115 0.04,
0.095 0.115 0.04, -0.095 0.115 0.04,
# Around the back of the book
-0.095 -0.115 0.00, 0.095 -0.115 0.00,
0.095 0.115 0.00, -0.095 0.115 0.00
]
}
coordIndex [
# Cover front, back, and spine cover (brown)
0, 1, 2, 3, -1, 7, 6, 5, 4, -1, 0, 3, 7, 4, -1,
# Paper bottom, right, and top edges (white)
0, 4, 5, 1, -1, 1, 5, 6, 2, -1, 2, 6, 7, 3
]
colorPerVertex FALSE
color Color {
color [
0.7 0.5 0.2, # cover
0.8 0.8 0.8 # paper edges
]
}
colorIndex [
0, 0, 0, # cover
1, 1, 1 # paper edges
]
}
}